/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'
import i18n from './../../lang/index'
const queryRouter = {
  path: '/company/queryList',
  component: Layout,
  name: '项目查询',
  meta: {
    title: '项目查询',
    subtitle: '项目查询',
    icon: 'system',
    permissions: ['query']
  },
  children: [
    // // 模拟三级路由
    // {
    //   path: '',
    //   component: Layout,
    //   name: i18n.t('route.System'),
    //   meta: { title: i18n.t('route.System'), subtitle: i18n.t('route.System'), icon: 'menu_system', permissions: ['admin'] },
    //   childrens: [
    //     {
    //       path: '/sysMenu/list',
    //       component: () => import('@/views/sysMenu/list'),
    //       name: 'sysMenu-list',
    //       meta: { title: '系统管理', subtitle: '菜单', icon: 'menu_sysMenu', permissions: ['admin'] },
    //       // hidden: true
    //     },
    //   ]
    // },

    // 注册路由
    {
      path: '/project/statistics',
      component: () => import('@/views/project/statistics'),
      name: '/project/statistics',
      meta: { title: '项目汇总信息', subtitle: '项目汇总信息', icon: 'menu_sysMenu', permissions: ['project.query']},

      // hidden: true
    },
    {
      path: '/company/queryList',
      component: () => import('@/views/company/queryList'),
      name: '/company/queryList',
      meta: { title: '企业资料查询', subtitle: '企业资料查询', icon: 'menu_sysMenu', permissions: ['company']},

      // hidden: true
    },
    {
      path: '/company/queryView',
      component: () => import('@/views/company/queryView'),
      name: '/company/queryView',
      meta: { title: '企业资料详情', subtitle: '企业资料详情', icon: 'menu_sysMenu', permissions: ['company']},
      hidden: true
    },
    {
      path: '/project/queryList',
      component: () => import('@/views/project/queryList'),
      name: '/project/queryList',
      meta: { title: '项目资料查询', subtitle: '项目资料查询', icon: 'menu_sysMenu', permissions: ['project.query']},

      // hidden: true
    },
    {
      path: '/project/queryView',
      component: () => import('@/views/project/queryView'),
      name: 'projectQueryView',
      meta: { title: '项目资料查询', subtitle: '项目资料查询', icon: 'menu_sysMenu', permissions: ['project.query']},

      hidden: true
    },
    {
      path: '/projectActivity/queryList',
      component: () => import('@/views/projectActivity/queryList'),
      name: '/projectActivity/queryList',
      meta: { title: '项目活动查询', subtitle: '项目活动查询', icon: 'menu_sysMenu', permissions: ['projectActivity.query']},

      // hidden: true
    },
    {
      path: '/projectActivity/queryView',
      component: () => import('@/views/projectActivity/queryView'),
      name: '/projectActivity/queryView',
      meta: { title: '项目活动查询', subtitle: '项目活动查询', icon: 'menu_sysMenu', permissions: ['projectActivity.query']},

      hidden: true
    },
    {
      path: '/projectExecute/queryList',
      component: () => import('@/views/projectExecute/queryList'),
      name: '/projectExecute/queryList',
      meta: { title: '项目运营查询', subtitle: '项目运营查询', icon: 'menu_sysMenu', permissions: ['projectExecute.query']},

      // hidden: true
    },
    {
      path: '/projectExecute/queryView',
      component: () => import('@/views/projectExecute/queryView'),
      name: '/projectExecute/queryView',
      meta: { title: '项目运营查询', subtitle: '项目运营查询', icon: 'menu_sysMenu', permissions: ['projectExecute.query']},

      hidden: true
    },

  ]
}
export default queryRouter
